<!DOCTYPE html><html><head><title>尤米接口文档</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style>
.note-content  {font-family: 'Helvetica Neue', Arial, 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimSun, Song, sans-serif;}

</style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h1 id="尤米接口文档">尤米接口文档</h1>

<div><div class="toc"><div class="toc">
<ul>
<li><a href="#尤米接口文档">尤米接口文档</a><ul>
<li><ul>
<li><ul>
<li><ul>
<li><a href="#1第三方微信登录">1.第三方微信登录</a></li>
<li><a href="#2直播的微信登录">2.直播的微信登录</a></li>
<li><a href="#3发送验证码">3.发送验证码</a></li>
<li><a href="#4绑定手机号">4.绑定手机号</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#直播接口">直播接口</a><ul>
<li><ul>
<li><a href="#5会员充值列表">5.会员充值列表</a></li>
<li><a href="#6充值会员支付宝支付">6.充值会员，支付宝支付</a></li>
<li><a href="#7充值会员微信支付">7.充值会员，微信支付</a></li>
<li><a href="#8主播隐藏直播间">8.主播隐藏直播间</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>

<p><strong>①直播接口域名</strong>： <a href="http://ymvlive.jzbwlkj.com/" target="_blank">http://ymvlive.jzbwlkj.com/</a> <br>
<strong>②商城接口域名</strong>：<a href="http://ymshop.jzbwlkj.com" target="_blank">http://ymshop.jzbwlkj.com</a></p>



<h5 id="1第三方微信登录">1.第三方微信登录</h5>

<pre class="prettyprint hljs-dark"><code class="hljs ada"><div class="hljs-line"> url api/user/userLoginByThird
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> openid
</div><div class="hljs-line"> <span class="hljs-keyword">type</span>  <span class="hljs-type">传 </span>wx
</div><div class="hljs-line"> nickname 
</div><div class="hljs-line"> avatar
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> {<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"token"</span>:<span class="hljs-string">"94a20381ae9a865d349e90dd0a13d421"</span>,<span class="hljs-string">"type"</span>:<span class="hljs-number">1</span>}}
</div><div class="hljs-line"> <span class="hljs-keyword">type</span> <span class="hljs-type">1 </span>没有绑定手机  <span class="hljs-number">2</span>已绑定手机
</div></code></pre>



<h5 id="2直播的微信登录">2.直播的微信登录</h5>

<pre class="prettyprint hljs-dark"><code class="hljs ada"><div class="hljs-line"> url service=Login.userLoginByThird
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> openid
</div><div class="hljs-line"> <span class="hljs-keyword">type</span>
</div><div class="hljs-line"> <span class="hljs-type">nicename
</span></div><div class="hljs-line"> avatar
</div></code></pre>



<h5 id="3发送验证码">3.发送验证码</h5>

<pre class="prettyprint hljs-dark"><code class="hljs crmsh"><div class="hljs-line"> url  api/public/verify
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> <span class="hljs-keyword">user</span>  <span class="hljs-title">手机号
</span></div><div class="hljs-line"> type  forgotten
</div></code></pre>



<h5 id="4绑定手机号">4.绑定手机号</h5>

<pre class="prettyprint hljs-dark"><code class="hljs armasm"><div class="hljs-line"> url  api/user/<span class="hljs-keyword">bindMobile
</span></div><div class="hljs-line"> 参数
</div><div class="hljs-line"> mobile
</div><div class="hljs-line"> verify
</div><div class="hljs-line"> openid
</div><div class="hljs-line"> 返回
</div><div class="hljs-line">    {<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>}
</div></code></pre>



<h3 id="直播接口">直播接口</h3>



<h5 id="5会员充值列表">5.会员充值列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line">url  service=Charge.monthCardList
</div><div class="hljs-line">返回
</div><div class="hljs-line">    {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u4f1a\u5458\u5145\u503c\u89c4\u5219"</span>,<span class="hljs-string">"info"</span>:[{<span class="hljs-string">"list"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"\u4e00\u4e2a\u6708"</span>,<span class="hljs-string">"coin"</span>:<span class="hljs-string">"0.01"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"addtime"</span>:<span class="hljs-string">"1506046401"</span>,<span class="hljs-string">"orderno"</span>:<span class="hljs-string">"0"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"\u4e09\u4e2a\u6708"</span>,<span class="hljs-string">"coin"</span>:<span class="hljs-string">"290.00"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"addtime"</span>:<span class="hljs-string">"1506046423"</span>,<span class="hljs-string">"orderno"</span>:<span class="hljs-string">"1"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"\u516d\u4e2a\u6708"</span>,<span class="hljs-string">"coin"</span>:<span class="hljs-string">"550.00"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"6"</span>,<span class="hljs-string">"addtime"</span>:<span class="hljs-string">"1506046436"</span>,<span class="hljs-string">"orderno"</span>:<span class="hljs-string">"3"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"4"</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"\u4e00\u5e74"</span>,<span class="hljs-string">"coin"</span>:<span class="hljs-string">"1000.00"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"12"</span>,<span class="hljs-string">"addtime"</span>:<span class="hljs-string">"1506046449"</span>,<span class="hljs-string">"orderno"</span>:<span class="hljs-string">"4"</span>}],<span class="hljs-string">"transfer_switch"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"aliapp_switch"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"aliapp_partner"</span>:<span class="hljs-string">"2017071907806501"</span>,<span class="hljs-string">"aliapp_seller_id"</span>:<span class="hljs-string">"632751531@qq.com"</span>,<span class="hljs-string">"aliapp_key_android"</span>:<span class="hljs-string">"MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAITIRQvUj3hw7tT7LyNuAPQXUy694+vJ3I8EkhXAvyDK6GkNjVc19oC9c\/LcFGmWh2T9ZnSuZbnC7NKWF8gagw14Mnnt1AQTUHnKxAcoZIBno5fOG6JQ0r2pQ9zRmuxOC1MhmjXY4JPptZYy0b8RJGaCh10r0v2jVa6tc93k036TAgMBAAECgYAR25Vdp\/K7sgSM5FNMoojCSzjGuociuP1OxsCW6FtMH73uEwKFTh6e5dvoN60PHk2LSYE0BBhuSUbsc38zTE1\/mRN7CDjZ1BBSFFRCQsYVJ8nYJ64Kn1X1vtsbb\/BpkiYbf7OSLiczJ3IPqcykRLTcnVFlrjSctTD7k2jdnGWaQQJBAO09qoCV4r\/lBoH0MLQcLkiZefw2ZvdjjeH5sakXPdDukXmpqu3qmVzxIDu3\/X2FIXiIgbWEp\/4+WUmlOWP3hsMCQQCPSBt5ceLpSTtEcgGVrIbtom205zK2TWfAwkn5LQbEsBTYeKZJMyq+ziEopFsCe2PhGapjXD\/d+DvC1CGmO8vxAkBBHo0fkITWEYJwx1tbBOU7bk1KipBG1Z\/LaGN4u3VvVRy\/XXAasCt6lIE5gy5kdteSIz4fWhNWuTx+94hCRV5LAkBjf0lE7mcKZQY5I4oiK+qOvoq8Ywh+PAZefwzrce8PSs9O+4lNr7BxS6cPGALzGEhlmnMOCJN5StYFF1Y+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xK8ZwqWxK2BfPvkNLG4Bc5pOf9jbepviu1I8kGp7acJB36eDUE80l9ehHBu2fjS+K5kmlpK1WPwl45M6BtunxwCbcHqySxqEyEDxOH\/1j2+VEW3y47egUwiy09JiDeGWTameSuATGlDuIIv12jNBNGKl+pDi0rwZ4Zfth0gmECgYAxkKsrTimXCsufYWdn5UDGx5k8C7DUgTvJZpZOsNew8y66XWpAwSFcM+Ikr0HGY+3N5FYAblC8pH6XdmXoOlo38aE8JHWNrZqw94MD5DzV3nSnuHgMOJ8A+kU4gAQWd57OUL1WIU2Edt7l1QJ82tWMccsgnfEByarQKYmfrRjlbQKBgAUtuc3h29GM9TXmb+irrrZt7NjmQmPppTbMskArBRmY35OwkcIrsYNJoRqb38Iqhgs740sHRsotJnJtMCgip6mRa8vbHbE6qy2DGvtWPA94QGO61Z1x4OBN0wePpST9XsoCvwzczra6COHuPbEz+RGCR29SE2J7vtaUjg2N6+yhAoGBAJ4yzSv5QagziYa77siaJeNL2pt0JGiQj\/miYayDH64o9ao1a+ubYq5frc1XdJMi4U8aa0ZjjE4cPyjES4rCzB\/5Ny9jhKAv\/vZ1xkaTY3eNsCALWfETyyNjnVfr8lWMtLCcMuSnA5yeweVCJ3htSLHIJtVRVr1vluTYu6vYCH\/Z"</span>,<span class="hljs-string">"wx_switch"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"wx_appid"</span>:<span class="hljs-string">"wxff35f1442deb1bd1"</span>,<span class="hljs-string">"wx_appsecret"</span>:<span class="hljs-string">"ce3966067c9b68ea43714239eff3f2d6"</span>,<span class="hljs-string">"wx_mchid"</span>:<span class="hljs-string">"1300344001"</span>,<span class="hljs-string">"wx_key"</span>:<span class="hljs-string">"a7b05b1c41f9fdcbdd694f169159443c"</span>}]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="6充值会员支付宝支付">6.充值会员，支付宝支付</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line"> url <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">Charge</span>.getAliCard
</span></div><div class="hljs-line"> 参数
</div><div class="hljs-line"> uid   用户ID
</div><div class="hljs-line"> changeid   充值ID
</div><div class="hljs-line"> coin       金额
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"info"</span>:[{<span class="hljs-string">"orderid"</span>:<span class="hljs-string">"8973_20170922102639670"</span>}]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="7充值会员微信支付">7.充值会员，微信支付</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line"> url <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">Charge</span>.getWxCard
</span></div><div class="hljs-line">     参数
</div><div class="hljs-line">     uid   用户ID
</div><div class="hljs-line">     changeid   充值ID
</div><div class="hljs-line">     coin       金额
</div><div class="hljs-line">     返回
</div><div class="hljs-line">     {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"info"</span>:[{<span class="hljs-string">"appid"</span>:<span class="hljs-string">"wxff35f1442deb1bd1"</span>,<span class="hljs-string">"noncestr"</span>:<span class="hljs-string">"843517d60c9e00aeabbbda4f2bc4ee86"</span>,<span class="hljs-string">"package"</span>:<span class="hljs-string">"Sign=WXPay"</span>,<span class="hljs-string">"partnerid"</span>:<span class="hljs-string">"1300344001"</span>,<span class="hljs-string">"prepayid"</span>:null,<span class="hljs-string">"timestamp"</span>:<span class="hljs-number">1506047334</span>,<span class="hljs-string">"sign"</span>:<span class="hljs-string">"0285C533891F4343526799F9F0D823A7"</span>}]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>

<h5 id="8主播隐藏直播间">8.主播隐藏直播间</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">     url  service=Live.dispayRoom
</div><div class="hljs-line">     参数
</div><div class="hljs-line">     uid
</div><div class="hljs-line">     token
</div><div class="hljs-line">     stream
</div><div class="hljs-line">     status  <span class="hljs-number">1</span>显示 <span class="hljs-number">0</span>隐藏
</div></code></pre></div></body></html>